package com.example.gitpart03;

import java.io.Serializable;

public class Book implements Serializable {
    private String id;
    private String title;
    private String author;
    private String coverUrl;
    private String description;
    private int chapterCount;

    public Book(String id, String title, String author, String coverUrl, String description, int chapterCount) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.coverUrl = coverUrl;
        this.description = description;
        this.chapterCount = chapterCount;
    }

    public String getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getAuthor() {
        return author;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public String getDescription() {
        return description;
    }

    public int getChapterCount() {
        return chapterCount;
    }
}